Skip to main content

All Questions

Tagged with
2votes
1answer
201views

Extracting type info

Suppose that I want to implement the following scenario. There is a board and each board has a set of peripherals like leds, temp sensors, gpio and so on. Each of them implements the according C++ ...
bielu000's user avatar
1vote
3answers
264views

How to allow users to provide their own child classes in a factory design pattern in c++?

I am building a c++ project that will allow users to essentially model and create their own fleet of cars. Right now, the approach I have in mind is a Car Factory Class that will implement all of the ...
J K's user avatar
  • 27
0votes
1answer
150views

Best software architecture approach for a single core system

Objective: Designing a data intensive application(myApp) C++ on Linux/RTOS which runs on a single core cpu, there are also 150 other applications share the same core with high priority than myApp. How ...
uss's user avatar
  • 141
-1votes
2answers
70views

OOP classes hierachies for aiding static checking justified?

upfront I develop software for big data applications of which use is beyond my control (it ends up with a user), but I am not a trained software developer. So I apologize for any wrong terminology. ...
user1407220's user avatar
3votes
1answer
174views

How do you add feature to a class that was originally designed wrong in the first place? [duplicate]

I have a Surgeon class that is constantly changing class Surgeon { string name, discipline; public: Surgeon(string _name, string _discp) : name{_name}, discipline{_discp}{} void writeDir(...
user3904534's user avatar
7votes
1answer
833views

Why "simple" projects have so much code? [closed]

I've been developing my scientific-computation software for a few years in C++ and it performs pretty well on CFD and DEM simulations. However, it has about 12k lines of code without the dependencies. ...
BalazsToth's user avatar
8votes
2answers
19kviews

Why use SDL and OpenGL instead of just OpenGL?

I've been seeing people combine SDL2 and OpenGL (glfw.h or glut.h) for a while now, I've done some research and found out SDL2 runs on OpenGL. So why does people combine these two? Some people ...
Nfagie Yansaneh's user avatar
0votes
3answers
344views

How to represent personality of a person in class?

Lets say I have a class Person. class Person{ Person(std::string, int); void walk(); void talk(); void eat(); private: int age; std::string() name; }; Now lets say I want ...
solti's user avatar
-2votes
2answers
570views

How can a software code be made modifiable without being visible to the end user?

I wish to supply a software product with GUI, etc. for operating it. And the software utility is research so the users will want to tweak it to some extent and implement their own preferred algorithms ...
arttp2's user avatar
8votes
3answers
14kviews

Is it possible to combine C/C++ with web languages? [duplicate]

I would like to create a web application (meaning that will run from browser). The point is that I want to write just the UI in HTML5 + CSS + JS (or maybe even some PHP). On the other hand, I want to ...
user avatar
7votes
1answer
1kviews

How do I distribute my scientific software with as few dependencies as possible?

As part of my research, I write a lot of Python and MATLAB code that never needs to be distributed to anyone else. Even if I need to distribute my software, Python and MATLAB, both being interpreted, ...
jme's user avatar
  • 559

close